package cn.stylefeng.guns.modular.fruits.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * 出库单管理
 */
@TableName("fruits_order_out")
@Data
public class FruitsOrderOut implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    @TableField("states")
    private String states;

    /**
     * 时间
     */
    @TableField("times")
    private String times;

    /**
     * 出库单号
     */
    @TableField("out_number")
    private String outNumber;

    /**
     * 出库仓库
     */
    @TableField("warehouse_name")
    private String warehouseName;

    /**
     * 出库库位
     */
    @TableField("position_number")
    private String positionNumber;

    /**
     * 渠道id
     */
    @TableField("channel_id")
    private Long channelId;

    /**
     * 销售渠道
     */
    @TableField("channel_name")
    private String channelName;

    /**
     * 客户id
     */
    @TableField("customer_id")
    private Long customerId;

    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;

    /**
     * 客户地址
     */
    @TableField("customer_address")
    private String customerAddress;

    /**
     * 联系人
     */
    @TableField("contacts")
    private String contacts;

    /**
     * 联系电话
     */
    @TableField("tel")
    private String tel;

    /**
     * 结算方式
     */
    @TableField("settlement_method")
    private String settlementMethod;

    /**
     * 销售平台
     */
    @TableField("channel_platform")
    private String channelPlatform;

    /**
     * 发货方式
     */
    @TableField("transport_model")
    private String transportModel;

    /**
     * 运输车辆
     */
    @TableField("car_number")
    private String carNumber;

    /**
     * 司机姓名
     */
    @TableField("driver_name")
    private String driverName;

    /**
     * 司机电话
     */
    @TableField("driver_tel")
    private String driverTel;

    /**
     * 快递公司
     */
    @TableField("courier_company")
    private String courierCompany;

    /**
     * 快递单号
     */
    @TableField("courier_number")
    private String courierNumber;

    /**
     * 成本价
     */
    @TableField("cost_price")
    private String costPrice;

    /**
     * 提成
     */
    @TableField("commission")
    private String commission;

    /**
     * 销售价
     */
    @TableField("sales_price")
    private String salesPrice;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    @Override
    public String toString() {
        return "FruitsOrderOut{" +
        "id=" + id +
        ", states=" + states +
        ", times=" + times +
        ", outNumber=" + outNumber +
        ", warehouseName=" + warehouseName +
        ", positionNumber=" + positionNumber +
        ", channelId=" + channelId +
        ", channelName=" + channelName +
        ", customerId=" + customerId +
        ", customerName=" + customerName +
        ", customerAddress=" + customerAddress +
        ", contacts=" + contacts +
        ", tel=" + tel +
        ", settlementMethod=" + settlementMethod +
        ", channelPlatform=" + channelPlatform +
        ", transportModel=" + transportModel +
        ", carNumber=" + carNumber +
        ", driverName=" + driverName +
        ", driverTel=" + driverTel +
        ", courierCompany=" + courierCompany +
        ", courierNumber=" + courierNumber +
        ", costPrice=" + costPrice +
        ", commission=" + commission +
        ", salesPrice=" + salesPrice +
        ", deptId=" + deptId +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        "}";
    }
}
